package com.dong.service;

import com.dong.pojo.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {
    List<Book> selectAllBook();

    int insertBook(Book book);

    Book selectBookById(@Param("bookId") int bookId);

    int updateBook(Book book);

    int deleteBook(@Param("bookId") int bookId);

    List<Book> selectLike(String keyword);
}
